﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;

namespace SOEI.Solution.DomainEntities.PurQualificationAudit
{
    /// <summary>
    /// 购房资格审查申请变更信息表
    /// </summary>
    [Table("YW_GFZGSCSQBGXX")]
    public class PurQualificationChage : Entity<string>
    {
        /// <summary>
        ///主键Id-->购房资格审查申请变更编号
        /// </summary>
        [Column("GFZGSCSQBGBH")]
        public override string Id { get; set; }

        /// <summary>
        ///购房资格审查申请编号
        /// </summary>
        [Column("GFZGSCSQBH")]
        public string GFZGSCSQBH
        {
            get;
            set;
        }

        /// <summary>
        ///购房人类型代码
        /// </summary>
        [Column("GFRLXDM")]
        public string GFRLXDM
        {
            get;
            set;
        }

        /// <summary>
        ///购房人姓名
        /// </summary>
        [Column("GFRXM")]
        public string GFRXM
        {
            get;
            set;
        }

        /// <summary>
        ///证件名称
        /// </summary>
        [Column("ZJMC")]
        public string ZJMC
        {
            get;
            set;
        }

        /// <summary>
        ///证件号码
        /// </summary>
        [Column("ZJHM")]
        public string ZJHM
        {
            get;
            set;
        }

        /// <summary>
        ///联系电话
        /// </summary>
        [Column("LXDH")]
        public string LXDH
        {
            get;
            set;
        }

        /// <summary>
        /// 拟购住房地址
        /// </summary>
        [Column("NGZFDZ")]
        public string NGZFDZ
        {
            get;
            set;
        }

        /// <summary>
        /// 户籍所在地
        /// </summary>
        [Column("HJSZD")]
        public string HJSZD
        {
            get;
            set;
        }

        /// <summary>
        /// 家庭拥有住房情况
        /// </summary>
        [Column("JTYYZFQK")]
        public string JTYYZFQK
        {
            get;
            set;
        }

        /// <summary>
        ///录入时间
        /// </summary>
        [Column("LRSJ")]
        public DateTime? LRSJ
        {
            get;
            set;
        }

        [Column("SXSJ")]
        public DateTime? SXSJ
        {
            get;
            set;
        }

        /// <summary>
        ///申请状态代码
        /// </summary>
        [Column("SQZTDM")]
        public string SQZTDM
        {
            get;
            set;
        }

        /// <summary>
        ///房屋编号
        /// </summary>
        [Column("FWBH")]
        public string FWBH
        {
            get;
            set;
        }

        /// <summary>
        ///合同登记号
        /// </summary>
        [Column("HTDJH")]
        public string HTDJH
        {
            get;
            set;
        }

        [Column("SM")]
        public string SM
        {
            get;
            set;
        }

        /// <summary>
        ///业务类型代码
        /// </summary>
        [Column("YWLXDM")]
        public string YWLXDM
        {
            get;
            set;
        }

        /// <summary>
        ///单位编号
        /// </summary>
        [Column("DWBH")]
        public string DWBH
        {
            get;
            set;
        }

        /// <summary>
        ///录入人编号
        /// </summary>
        [Column("LRRBH")]
        public string LRRBH
        {
            get;
            set;
        }

        /// <summary>
        ///录入人姓名
        /// </summary>
        [Column("LRRXM")]
        public string LRRXM
        {
            get;
            set;
        }

        /// <summary>
        ///区代码
        /// </summary>
        [Column("QYDM")]
        public string QYDM
        {
            get;
            set;
        }

        /// <summary>
        ///限购类型(0:2011年限购类型,1:2017年限购类型)
        /// </summary>
        [Column("XGLX")]
        public string XGLX
        {
            get;
            set;
        }

        /// <summary>
        ///资料审查状态代码(00:空,01:审查通过，02：审查未通过)
        /// </summary>
        [Column("ZLSCZTDM")]
        public string ZLSCZTDM
        {
            get;
            set;
        }

        /// <summary>
        ///1 本市，0非本市 （家庭成员里有一个本市则为本市） 
        /// </summary>
        [Column("ISBS")]
        public string ISBS
        {
            get;
            set;
        }

        /// <summary>
        ///删除人编号
        /// </summary>
        [Column("SCRBH")]
        public string SCRBH
        {
            get;
            set;
        }

        /// <summary>
        ///删除人姓名
        /// </summary>
        [Column("SCRXM")]
        public string SCRXM
        {
            get;
            set;
        }

        /// <summary>
        ///删除时间
        /// </summary>
        [Column("SCSJ")]
        public DateTime? SCSJ
        {
            get;
            set;
        }

        /// <summary>
        ///资料审查方式代码
        /// </summary>
        [Column("ZLSCFSDM")]
        public string ZLSCFSDM
        {
            get;
            set;
        }

        /// <summary>
        ///变更人编号
        /// </summary>
        [Column("BGRBH")]
        public string BGRBH
        {
            get;
            set;
        }

        /// <summary>
        ///变更时间
        /// </summary>
        [Column("BGSJ")]
        public DateTime? BGSJ
        {
            get;
            set;
        }

        /// <summary>
        ///签订委托合同的机构编号
        /// </summary>
        [Column("WTHTJGBH")]
        public string WTHTJGBH
        {
            get;
            set;
        }

        #region ----------------------------------------------------新增----------------------------------------------------
        /// <summary>
        /// 数据来源：XMS-->新模式用来区分老系统
        /// </summary>
        public string SJLY { get; set; }
        #endregion
    }
}
